<?php
class BaseAction extends Action{
    public function _initialize(){
        //查询头部信息
        $newsInfo=M('newstypes')->select();
        $this->assign('newsInfo',$newsInfo);
    }
    
}